package org.feng.controller;

import org.feng.service.DemoService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * 示例控制器
 *
 * @version V1.0
 * @author: fengjinsong
 * @date: 2023年02月02日 10时30分
 */
@RestController
public class DemoController {
    @Resource
    private DemoService demoService;

    @PostMapping("/test")
    public String test() {
        return demoService.getAppUrl();
    }
}
